package com.example.mybatisplusdemo.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author local
 * @since 2025-06-20
 */
@TableName("opration_log")
@ApiModel(value="OprationLog对象", description="")
public class OprationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

        @ApiModelProperty(value = "操作日志")
    @TableField("log")
    private String log;

    @TableField("user_id")
    private Long userId;

        public Long getId() {
        return id;
        }

            public OprationLog setId(Long id) {
        this.id = id;
            return this;
        }
        public String getLog() {
        return log;
        }

            public OprationLog setLog(String log) {
        this.log = log;
            return this;
        }
        public Long getUserId() {
        return userId;
        }

            public OprationLog setUserId(Long userId) {
        this.userId = userId;
            return this;
        }

    @Override
    public String toString() {
    return "OprationLog{" +
            "id=" + id +
            ", log=" + log +
            ", userId=" + userId +
    "}";
    }
}
